﻿using QRCoder;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace LibraryMIS
{
    public partial class Aboutus : Form
    {
        public Aboutus()
        {
            InitializeComponent();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void Aboutus_Load(object sender, EventArgs e)
        {
            QRCoder.QRCodeGenerator qr = new QRCoder.QRCodeGenerator();
            var str = "柳职219软件技术二班荣誉出品";
            var myQRCODE = qr.CreateQrCode(str, QRCodeGenerator.ECCLevel.H);
            var code = new QRCode(myQRCODE);
            pictureBox1.Image = code.GetGraphic(50);
        }
    }
}
